// 系统服务
import { defHttp } from '/@/utils/http/axios';

enum Api {
  // waylinejobDel = '/uav/waylinejob/del',   // 删除飞行任务
  directoryGetDirByJob = '/file/directory/getDirByJob',  // 通过任务id查看 文件目录
  manageShowMap = '/file/manage/showMap'    // 图片地图展示开关
}

const systemApi = {
  // deleteWaylinejobDel: (params) => defHttp.delete({ url: Api.waylinejobDel, params }),
  getDirectoryGetDirByJob: (params) => defHttp.get({ url: Api.directoryGetDirByJob, params }),
  putManageShowMap: (params) => defHttp.put({ url: Api.manageShowMap, params }),
};

export default systemApi